import Layout from '@/layout'

const cmnRoutes = {
    path: '/course',
    component: Layout,
    redirect: '/course/list',
    name: '课程管理',
    alwaysShow: true,
    meta: { title: '课程管理', icon: 'example' },
    children: [
        {
            path: 'listPage',
            name: '课程列表',
            component: () => import('@/views/course/index'),
            meta: { title: '课程列表', icon: 'table' }
        },
        {
            path: 'statusMg',
            name: '课程状态管理',
            component: () => import('@/views/course/statusMg'),
            meta: { title: '课程状态管理', icon: 'table' }
        },
    ]

}

export default cmnRoutes
